package org.example.mynote.service;

import org.example.mynote.Entity.Notebook;

import java.util.List;

public interface NotebookService {

    /**
     * 获取当前用户下的所有笔记本
     * @return
     */
    List<Notebook> getNotebooksForCurrentUser();

    Notebook createNotebook(String name);

    Notebook updateNotebook(Long id, String name);

    void deleteNotebook(Long id);
}
